// 单独运行server
const app = require('./server')

const host = process.env.HOST || '127.0.0.1'
const port = process.env.PORT || 3333

// app.set('port', port)
// Listen the server
app.listen(port, host)
app.listen('3333', '0.0.0.0')
app.listen('80', '0.0.0.0')
// app.listen(3333, host)
console.log('Server listening on http://' + host + ':' + port)
console.log('Server listening on http://' + '106.14.170.46' + ':' + port)
